﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace TfL
{
    //[Serializable]
    public class Status
    {
        public Status()
        {
            StatusType = new StatusType();
            ID = string.Empty;
            CssClass = string.Empty;
            Description = string.Empty;
        }

        public StatusType StatusType { get; set; }
        [XmlAttribute]
        public string ID { get; set; }
        [XmlAttribute]
        public string CssClass { get; set; }
        [XmlAttribute]
        public string Description { get; set; }
        [XmlAttribute]
        public bool IsActive { get; set; }

        public override string ToString()
        {
            return string.Format("{0},{1}",CssClass,Description);
        }
    }
}
